import peresimport gennyfrom genny.wave_rendering import render_blip_part_with_new_textclass SimpleWikipediaLinkRenderer(genny.renderer.Renderer):    def __init__(self):        super(SimpleWikipediaLinkRenderer, self).__init__(genny.token_filter.BasicObjectFilter([(peres.parser.SimpleObject.TYPE_LINK, "wp")]))        def render(self, token):        return render_blip_part_with_new_text(token, 'http://en.wikipedia.org/wiki/%s' % (token.get_obj_value().replace(" ", "_")))